import {
    SET_BUTTON_TYPE_PREFER,
    
  } from '../actionTypes.js';
  
  const initialStatePrefer = {
   
  };
  
  const reducerHome = (state = initialStatePrefer, action) => {
    switch (action.type) {
      case SET_BUTTON_TYPE_PREFER:
        // return action.payload;
        return { ...state, buttonTypePrefer: action.payload };
     
  
      default:
        return state;
    }
  };
  
  export default reducerHome;
  